]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
test-tool: Replace --nested with --devkit
authorFlorian Müllner <fmuellner@gnome.org>
Thu, 27 Nov 2025 13:19:13 +0000 (14:19 +0100)
committerFlorian Müllner <fmuellner@gnome.org>
Thu, 27 Nov 2025 18:24:01 +0000 (19:24 +0100)
With the removal of the X11 backend, the --nested option isn't just
unavailable by default, but gone for good.

Switch to devkit to allow running tests in a window inside the session.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3986>

src/gnome-shell-test-tool.in

index 7ed4d63239ac3d65788dceaf07bfefe3f43cdddb..72c230f9077e3ee4d347289a86f2e9701b701146 100755 (executable)
@@ -41,10 +41,10 @@ def start_shell(wrap=None, perf_output=None):
 
     args.append('--force-animations')
 
-    if options.wayland or options.nested or options.headless:
+    if options.wayland or options.devkit or options.headless:
         args.append('--wayland')
-        if options.nested:
-            args.append('--nested')
+        if options.devkit:
+            args.append('--devkit')
         elif options.headless:
             args.append('--headless')
             if not options.hotplug:
@@ -207,8 +207,8 @@ parser.add_argument("--wrap")
 
 parser.add_argument("-w", "--wayland", action="store_true",
                     help="Run as a Wayland compositor")
-parser.add_argument("-n", "--nested", action="store_true",
-                    help="Run as a Wayland nested compositor")
+parser.add_argument("--devkit", action="store_true",
+                    help="Run development kit")
 parser.add_argument("-x", "--x11", action="store_true",
                     help="Run as an X11 compositor")
 parser.add_argument("--headless", action="store_true",